<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PageIndexChangingPage.aspx.cs" Inherits="PageIndexChangingPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" BackColor="White"
            BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CaptionAlign="Right"
            CellPadding="3" GridLines="Vertical" OnPageIndexChanging="GridView1_PageIndexChanging"
            PageSize="5">
            <PagerSettings FirstPageText="FirstPage" LastPageText="LastPage" Mode="NumericFirstLast"
                NextPageText="Next" PageButtonCount="5" Position="TopAndBottom" PreviousPageText="Previous" />
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Right" Wrap="False" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="Gainsboro" />
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
